package com.imooc.bilibili.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 刷新token信息表(RefreshTokenInfo)实体类
 *
 * @author makejava
 * @since 2023-04-27 21:00:46
 */
public class RefreshTokenInfo implements Serializable {
    private static final long serialVersionUID = 638053522259211596L;
    /**
     * 刷新token信息id
     */
    private Long refreshTokenId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 刷新token
     */
    private String refreshToken;
    /**
     * 启用状态，0启用，1禁用
     */
    private Integer enableState;
    /**
     * 删除状态，0未删除，1已删除
     */
    private Integer deleteState;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;


    public Long getRefreshTokenId() {
        return refreshTokenId;
    }

    public void setRefreshTokenId(Long refreshTokenId) {
        this.refreshTokenId = refreshTokenId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Integer getEnableState() {
        return enableState;
    }

    public void setEnableState(Integer enableState) {
        this.enableState = enableState;
    }

    public Integer getDeleteState() {
        return deleteState;
    }

    public void setDeleteState(Integer deleteState) {
        this.deleteState = deleteState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

